home *** CD-ROM | disk | FTP | other *** search
/ MacAddict 108 / MacAddict108.iso / Software / Internet & Communication / MarsEdit 1.0.dmg / MarsEdit.app / Contents / Resources / MarsEdit.sdef < prev    next >
Encoding:
Extensible Markup Language  |  2004-12-10  |  10.6 KB  |  204 lines

  1. Ôªø<?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd">
  3.  
  4. <dictionary>
  5.     <suite name="MarsEdit Suite" code="MEbl">
  6.         <classes>
  7.  
  8.             <class name="application" code="capp" description="MarsEdit‚Äôs top level scripting object." inherits="application">
  9.                 <cocoa class="NSApplication"/>
  10.                 <properties>
  11.                     <property name="selected post" code="SePo" access="r" type="post" description="The current selected post or draft.">
  12.                         <cocoa method="selectedPost"/>
  13.                         </property>
  14.                     <property name="selected weblog" code="SeWb" access="r" type="weblog" description="The current selected weblog.">
  15.                         <cocoa method="selectedWeblog"/>
  16.                         </property>
  17.                     </properties>
  18.                 <elements>
  19.                     <element type="weblog" access="r">
  20.                         <cocoa method="weblogs"/>
  21.                         </element>
  22.                     </elements>
  23.                 </class>
  24.             
  25.             <class name="post" code="Post">
  26.                 <cocoa class="MEWeblogPost"/>
  27.                 <properties>
  28.                     <property name="accept trackbacks" access="r" code="PsAp" type="boolean" description="Whether or not to accept trackbacks to the post. (For Movable Type compatible weblogs.)">
  29.                         <cocoa method="allowPings"/>
  30.                         </property>
  31.                     <property name="body" access="r" code="PsBd" type="string" description="The body text of the post.">
  32.                         <cocoa method="scriptingBody"/>
  33.                         </property>
  34.                     <property name="category names" access="r" code="PsCa" type="list of string" description="The categories for the post.">
  35.                         <cocoa method="scriptingCategoryNames"/>
  36.                         </property>
  37.                     <property name="comment status" access="r" code="PsCs" type="integer" description="0 means no status set, 1 means open for comments, 2 means closed. (For Movable Type compatible weblogs.)">
  38.                         <cocoa method="commentStatus"/>
  39.                         </property>
  40.                     <property name="excerpt entry" access="r" code="PsEx" type="string" description="The excerpt (aka summary) for this post. (For Movable Type compatible weblogs.)">
  41.                         <cocoa method="scriptingExcerpt"/>
  42.                         </property>
  43.                     <property name="extended entry" access="r" code="PsEt" type="string" description="The extended entry for this post. (For Movable Type compatible weblogs.)">
  44.                         <cocoa method="scriptingExtendedEntry"/>
  45.                         </property>
  46.                     <property name="keywords" access="r" code="PsKw" type="string" description="The keywords for this post. (For Movable Type compatible weblogs.)">
  47.                         <cocoa method="scriptingKeywords"/>
  48.                         </property>
  49.                     <property name="link" access="r" code="PsLk" type="string" description="The link entered for this post.">
  50.                         <cocoa method="scriptingLink"/>
  51.                         </property>
  52.                     <property name="permalink" access="r" code="PsPl" type="string" description="The permalink of this post on the web.">
  53.                         <cocoa method="scriptingPermalink"/>
  54.                         </property>
  55.                     <property name="post id" access="r" code="PsID" type="string" description="The id for this post on the weblog server.">
  56.                         <cocoa method="scriptingDataItemID"/>
  57.                         </property>
  58.                     <property name="post to home page" access="r" code="PsHp" type="boolean" description="Whether or not the post appears on the home page. (For Radio UserLand only.)">
  59.                         <cocoa method="postToHomePage"/>
  60.                         </property>
  61.                     <property name="text filter" access="r" code="PsTf" type="string" description="The text filter -- aka Formatting -- for this post. (For Movable Type compatible weblogs.)">
  62.                         <cocoa method="scriptingTextFilter"/>
  63.                         </property>
  64.                     <property name="title" access="r" code="Titl" type="string" description="The title of the post.">
  65.                         <cocoa method="scriptingTitle"/>
  66.                         </property>
  67.                     </properties>
  68.                 </class>
  69.         
  70.  
  71.             <class name="weblog" code="Wblg" description="A weblog.">
  72.                 <cocoa class="MEWeblog"/>
  73.                 <properties>
  74.                     <property name="API call in progress" access="r" code="WbAc" type="boolean" description="True if MarsEdit is currently calling the weblog via XML-RPC or other method.">
  75.                         <cocoa method="apiCallInProgress"/>
  76.                         </property>
  77.                     <property name="API handler URL" code="WbRu" type="string" description="The URL of the API handler on the weblog (usually an XML-RPC script).">
  78.                         <cocoa method="scriptingRPCURLString"/>
  79.                         </property>
  80.                     <property name="Blosxom folder path" code="WbBf" type="string" description="The path to the Blosxom folder.">
  81.                         <cocoa method="scriptingBlosxomFolder"/>
  82.                         </property>
  83.                     <property name="Blosxom script" code="WbBs" type="string" description="The script to run when sending a new or edited post to a Blosxom weblog.">
  84.                         <cocoa method="scriptingBlosxomScript"/>
  85.                         </property>
  86.                     <property name="category names" access="r" code="PsCa" type="list of string" description="Names of categories for the weblog.">
  87.                         <cocoa method="scriptingCategoryNames"/>
  88.                         </property>
  89.                     <property name="encode with HTML entities" code="WbEe" type="boolean" description="Whether or not to encode text with HTML entities before sending to the weblog.">
  90.                         <cocoa method="encodeWithEntities"/>
  91.                         </property>
  92.                     <property name="home page URL" code="WbHu" type="string" description="The URL of the home page of the weblog.">
  93.                         <cocoa method="scriptingHomeURLString"/>
  94.                         </property>
  95.                     <property name="name" access="r" code="pnam" type="string" description="The name of the weblog.">
  96.                         <cocoa method="scriptingName"/>
  97.                         <synonyms>
  98.                             <synonym code="Wbdn">
  99.                                 <cocoa method="scriptingDisplayName"/>
  100.                                 </synonym>
  101.                             </synonyms>
  102.                         </property>
  103.                     <property name="number of posts to download" code="WbNp" type="integer" description="The number of posts to download when refreshing the weblog.">
  104.                         <cocoa method="numberOfPostsToDownload"/>
  105.                         </property>
  106.                     <property name="preview template" code="WbPr" type="string" description="The HTML template to use for previews.">
  107.                         <cocoa method="previewTemplate"/>
  108.                         </property>
  109.                     <property name="prompt for Blosxom filenames" code="WbBa" type="boolean" description="Whether or not to prompt for a filename when posting a new Blosxom post.">
  110.                         <cocoa method="askBlosxomFilename"/>
  111.                         </property>
  112.                     <property name="system name" code="WbSy" type="string" description="Name of the publishing system this weblog uses.">
  113.                         <cocoa method="scriptingSystemName"/>
  114.                         </property>
  115.                     <property name="username" code="WbUn" type="string" description="Your username for the weblog.">
  116.                         <cocoa method="scriptingUsername"/>
  117.                         </property>
  118.                     <property name="internal ID" access="r" code="WbUd" type="string" description="The internal identifier MarsEdit uses to uniquely identify the weblog.">
  119.                         <cocoa method="scriptingUUID"/>
  120.                         </property>
  121.                     <property name="weblog ID" access="r" code="WbId" type="string" description="The ID of the weblog as stored on the server.">
  122.                         <cocoa method="scriptingWeblogID"/>
  123.                         </property>
  124.                     <property name="use keychain" code="WbKc" type="boolean" description="Whether or not to store your password in the keychain.">
  125.                         <cocoa method="useKeychain"/>
  126.                         </property>
  127.                     </properties>
  128.                 <elements>
  129.                     <element type="post" access="r">
  130.                         <cocoa method="dataItems"/>
  131.                         </element>
  132.                     </elements>
  133.  
  134.                 </class>
  135.             
  136.  
  137.             <class name="post window" code="docu" description="A post window." inherits="document">
  138.                 <cocoa class="MEDocument"/>            
  139.                 <properties>
  140.                     <property name="accept trackbacks" code="PsAp" type="boolean" description="Whether or not to accept trackbacks to the post. (For Movable Type compatible weblogs.)">
  141.                         <cocoa method="scriptingAllowPings"/>
  142.                         </property>
  143.                     <property name="body" code="PsBd" type="text" description="The body text.">
  144.                         <cocoa method="scriptingBody"/>
  145.                         </property>
  146.                     <property name="category names" code="PsCa" type="list of string" description="The categories for the post.">
  147.                         <cocoa method="scriptingCategoryNames"/>
  148.                         </property>
  149.                     <property name="comment status" code="PsCs" type="boolean" description="0 means no status set, 1 means open for comments, 2 means closed. (For Movable Type compatible weblogs.)">
  150.                         <cocoa method="scriptingCommentStatus"/>
  151.                         </property>
  152.                     <property name="current text" code="PsCt" type="text" description="The current text view (one of body, extended, excerpt, or keywords).">
  153.                         <cocoa method="scriptingCurrentTextStorage"/>
  154.                         </property>
  155.                     <property name="current weblog" code="Dblg" type="weblog" description="The current weblog as specified in the Weblog popup.">
  156.                         <cocoa method="scriptingCurrentWeblog"/>
  157.                         </property>
  158.                     <property name="excerpt entry" code="PsEx" type="text" description="The contents of the excerpt entry text view.">
  159.                         <cocoa method="scriptingExcerptEntry"/>
  160.                         </property>
  161.                     <property name="extended entry" code="PsEt" type="text" description="The contents of the extended entry text view.">
  162.                         <cocoa method="scriptingExtendedEntry"/>
  163.                         </property>
  164.                     <property name="keywords" code="PsKw" type="text" description="The keywords for this post. (For Movable Type compatible weblogs.)">
  165.                         <cocoa method="scriptingKeywords"/>
  166.                         </property>
  167.                     <property name="link" code="PsLk" type="string" description="The contents of the URL field.">
  168.                         <cocoa method="scriptingLink"/>
  169.                         </property>
  170.                     <property name="post to home page" code="PsHp" type="boolean" description="Whether or not the post should appear on the home page. (For Radio UserLand only.)">
  171.                         <cocoa method="scriptingPostToHomePage"/>
  172.                         </property>
  173.                     <property name="selected text" code="PsSt" type="string" description="The currently selected text in whichever text view is current.">
  174.                         <cocoa method="scriptingSelectedText"/>
  175.                         </property>
  176.                     <property name="text filter" code="PsTf" type="string" description="The text filter -- aka Formatting -- for this post. (For Movable Type compatible weblogs.)">
  177.                         <cocoa method="scriptingTextFilter"/>
  178.                         </property>
  179.                     <property name="title" code="Titl" type="string" description="The contents of the Title field.">
  180.                         <cocoa method="scriptingTitle"/>
  181.                         </property>
  182.                     <property name="trackback links" code="Dtba" type="list of string" description="List of trackback links (URLs) to send with this post.">
  183.                         <cocoa method="scriptingTrackbacksArray"/>
  184.                         </property>
  185.                     </properties>    
  186.                 <responds-to-commands>
  187.                     <responds-to name="send post to weblog">
  188.                         <cocoa method="scriptingSendPost:"/>
  189.                     </responds-to>
  190.                     </responds-to-commands>
  191.             
  192.                 </class>
  193.  
  194.             </classes>
  195.         
  196.         <commands>
  197.             <command name="send post to weblog" code="MEblSend" description="Send the post to the weblog selected in the weblog popup menu.">
  198.                 <cocoa class="NSScriptCommand"/>
  199.                 <direct-parameter type="object" description="The post window to send to the weblog."/>
  200.                 </command>
  201.             </commands>
  202.         </suite>
  203.     </dictionary>
  204.